#include "stage.h"
#include <Windows.h>
#include <conio.h>

class stage01 : public stage
{
public :
	stage01() : itemNum(1){
		wall_Tile = SDL_LoadBMP("wall.bmp");
		item_Tile = SDL_LoadBMP("item.bmp");
	
		itemPos.x = ((rand() % 50)+1)*5; 
		itemPos.y = ((rand() % 30)+1)*5;
	}
	~stage01(){
		SDL_FreeSurface(wall_Tile);
	}
	int GetLeftItemNum();
	Type CrashCheck(SDL_Rect);
	void Render(SDL_Surface* screen);
private :
	int itemNum;
	SDL_Surface* wall_Tile;
	SDL_Surface* item_Tile;
	SDL_Rect itemPos;
};
